export default {
  functionType: {
    PLATFORM: "平台级功能",
    ENTERPRISE: "企业级功能",
    COMMON: "公共功能",
  },
  organizationType: {
    company: "公司",
    organization: "部门",
  },
  roleType: {
    project: "项目管理员",
    operation: "运维工程师",
    other: "其它",
  },
  gender: {
    female: "女",
    male: "男",
    secrecy: "保密",
  },
  messageType: {
    NOTIFY: "通知",
    NOTICE: "公告",
    // EARLY_WARNING: "预警",
  },
  businessType: {
    // EARLY: "预警",
    SYS_NOTICE: "系统公告",
  },
  messageState: {
    SENDING: "待发布",
    SENDED: "已发布",
  },
  msgTempType: {
    sms: "短信",
    push: "移动端",
    email: "邮件",
    wechat: "微信",
    notification: "系统",
  },
  // PFX,JKS,PEM
  certificateType: {
    PFX: "PFX",
    JKS: "JKS",
    PEM: "PEM",
  },
  msgTempNotifyType: {
    aliyunsms: "阿里短信",
    jpushsms: "极光短信",
    email: "邮件",
    jpush: "极光推送",
    wechatmq: "微信公众号",
    notification_notify: "系统消息推送",
  },
  serviceType: {
    // ALL: "全部",
    REPAIR: "维修服务",
    CHECK: "检测服务",
    MAINTAIN: "保养服务",
    INSTALL: "安装服务",
    DEBUG: "调试服务",
    REFORM: "改造服务",
  },
  serviceState: {
    WAITING: "待接单",
    SERVICE: "服务中",
    EVALUATED: "待评价",
    FINISHED: "已完成",
  },
  workSearchState: {
    // ALL: "全部",
    DISPATCH: "待派单",
    WAITING: "待接单",
    EXECUTE: "待执行",
    PROGRESS: "进行中",
    FINISHED: "已完成",
    CANCEL: "已取消",
    OVER: "超期",
  },
  workSource: {
    // ALL: "全部",
    RESPONSIBLE: "我负责的",
    HELP: "我协同的",
    CREATE: "我创建的",
    OTHER: "他人创建",
  },
  finishedType: {
    RESOLVED: "已解决",
    UNRESOLVED: "未解决",
  },
  serviceOrderCancelType: {
    CUSTOMER: "客户",
    BUSINESS: "企业",
  },
  workType: {
    // ALL: "全部",
    REPAIR: "维修服务",
    CHECK: "检测服务",
    MAINTAIN: "保养服务",
    INSTALL: "安装服务",
    DEBUG: "调试服务",
    REFORM: "改造服务",
  },
  workTypeShort: {
    // ALL: "全部",
    REPAIR: "维修",
    CHECK: "检测",
    MAINTAIN: "保养",
    INSTALL: "安装",
    DEBUG: "调试",
    REFORM: "改造",
  },
  satisfaction: {
    SUPER: "超满意",
    NORMAL: "一般般",
    DISSATISFIED: "不满意",
  },
  visitType: {
    NORMAL: "常规回访",
    COMPLAINT: "投诉回访",
  },
  timeDimension: {
    day: "今日",
    week: "本周",
    month: "本月",
    quarter: "本季",
    year: "本年",
  },
  notifiStatus: {
    SENT: "发布",
    DRAFT: "草稿",
  },
  alarmEventType: {
    1: "报警",
    2: "预警",
    3: "提醒",
  },
  registerType: {
    COIL_STATUS: "线圈状态",
    INPUT_STATUS: "离散输入状态",
    HOLDING_REGISTER: "保持寄存器",
    INPUT_REGISTER: "输入寄存器",
  },
  byteOrder: {
    ABCD: "ABCD(Big-endian)",
    DCBA: "DCBA(Little-endian)",
    BADC: "BADC(Big-endian byte swap)",
    CDAB: "CDAB(Little-endian byte swap)",
  },
  readWriteType: {
    R: "只读",
    RW: "读写",
  },
  eventType: {
    alarm: "故障报警",
    info: "信息",
  },
  equipmentFunctionType: {
    property: "属性",
    event: "事件",
  },
  valueDataType: {
    string: "string",
    bool: "bool",
    bytes: "bytes",
    bit: "bit",
    bits: "bits",
    int8: "int8",
    uint8: "uint8",
    int16: "int16",
    uint16: "uint16",
    float16: "float16",
    int32: "int32",
    uint32: "uint32",
    float32: "float32",
    int64: "int64",
    uint64: "uint64",
    float64: "float64",
  },
  functionCode: {
    "01": "读线圈寄存器",
    "02": "读离散输入寄存器",
    "03": "读保持寄存器",
    "04": "读输入寄存器",
    "05": "写单个线圈寄存器",
    "06": "写单个保持寄存器",
    "0F": "写多个线圈寄存器",
    "10": "写多个保持寄存器",
  },
  //对应后台的BizExceptionCode枚举
  exception: {
    "3101": "您添加行业名称已经存在，不能重复添加！",
    "3102": "您添加行业编码已经存在，不能重复添加！",
    "10021": "删除品牌分组前，请先删除组内品牌的所有数据",
    "10019": "该手机号码已存在，请使用其它号码！",
    "10029": "该手机号码已存在，请使用其它号码！",
    "9009": "删除单位组织前，请先删除其下级数据",
    "9010": "删除单位组织前，请先删除该组织用户数据",
    "9011": "无法删除集团顶层单位",
    "60016": "该租户分组已存在，请使用其他名称",
    "50031": "该菜单已配置下级，不允许删除",
    "60021": "该分组下已配置租户信息，不允许删除",
    "20010": "删除角色前，请先移除该角色下所有授权用户",
    "2005": "最多可查询一年数据",
    "100025": "设备品牌编号不能包含中文",
    "10011": "删除用户组前，请先移除该组内所有用户",
    "14007": "请先删除已关联的客户/成员",
    "14002": "请先删除已关联的客户",
    "-9": "密码错误，请重新输入密码",
    "14000": "该客户分组名已存在,请使用其他名称!",
    "14004": "该客户名称已存在,请使用其他名称!",
  },
};
